<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
</head>

<body>
<wicket:extend>

<form wicket:id="user-form" id="userForm">
    <a href="#" wicket:id="showtooltiplabel"><span wicket:id="showtooltiplabelMsg"/></a>
    <ul>
        <li>
            <label wicket:id="usernamelabel" class="desc"/>
            <input type="text" wicket:id="username" name="userusername" class="text large"/>
            <span wicket:id="username-feedback" class="fieldError"/>
            <span wicket:id="_username"/>
        </li>
        <li>
            <div>
                <div class="left">
                    <label wicket:id="passwordlabel" class="desc"/>
                    <input type="password" wicket:id="password" name="userpassword" class="text medium"/>
                    <span wicket:id="password-feedback" class="fieldError"/>
                    <span wicket:id="_password"/>

                </div>
                <div>
                    <label wicket:id="confirmPasswordlabel" class="desc"/>
                    <input type="password" wicket:id="confirmPassword" class="text medium"/>
                    <span wicket:id="confirmPassword-feedback" class="fieldError"/>
                    <span wicket:id="_confirmPassword"/>
                </div>
            </div>
        </li>
        <li>
            <label wicket:id="passwordHintlabel" class="desc"/>
            <input type="text" wicket:id="passwordHint" class="text large"/>
            <span wicket:id="passwordHint-feedback" class="fieldError"/>
            <span wicket:id="_passwordHint"/>
        </li>
        <li>
            <label wicket:id="firstNamelabel" class="desc"/>
            <input type="text" wicket:id="firstName" maxlenglabel="50" class="text medium"/>
            <span wicket:id="firstName-feedback" class="fieldError"/>
            <span wicket:id="_firstName"/>
        </li>
        <li>
            <label wicket:id="lastNamelabel" class="desc"/>
            <input type="text" wicket:id="lastName" maxlenglabel="50" class="text medium"/>
            <span wicket:id="lastName-feedback" class="fieldError"/>
            <span wicket:id="_lastName"/>
        </li>
        <li>
            <fieldset>
                <legend><wicket:message key="userProfile.accountSettings"/></legend>
                <input type="checkbox" wicket:id="enabled"/>
                <label wicket:id="enabledlabel"/>
                <span wicket:id="enabled-feedback" class="fieldError"/>
                <span wicket:id="_enabled"/>
                &nbsp;
                &nbsp;
                &nbsp;
                &nbsp;
                &nbsp;
                <input type="checkbox" wicket:id="accountExpired"/>
                <label wicket:id="accountExpiredlabel"/>
                <span wicket:id="accountExpired-feedback" class="fieldError"/>
                <span wicket:id="_accountExpired"/>

                <p>

                    <input type="checkbox" wicket:id="accountLocked"/>
                    <label wicket:id="accountLockedlabel"/>
                    <span wicket:id="accountLocked-feedback" class="fieldError"/>
                    <span wicket:id="_accountLocked"/>
                    &nbsp;
                    &nbsp;
                    &nbsp;
                    &nbsp;
                    &nbsp;

                    <input type="checkbox" wicket:id="credentialsExpired"/>
                    <label wicket:id="credentialsExpiredlabel"/>
                    <span wicket:id="credentialsExpired-feedback" class="fieldError"/>
                    <span wicket:id="_credentialsExpired"/>
            </fieldset>
        </li>
        <li>
            <div type="text" wicket:id="roles"></div>
        </li>
        <li>
            <div>
                <input type="submit" wicket:id="save" value="Save" class="button"/>
                <input type="submit" wicket:id="delete" value="Delete" class="button"/>
                <input type="submit" wicket:id="cancel" value="Cancel" class="button"/>
            </div>
        </li>
    </ul>

</form>
<!--<script type="text/javascript">-->
<!--Form.focusFirstElement($('userForm'));-->

<!--function passwordChanged(passwordField) {-->
<!--if (passwordField.id == "password") {-->
<!--var origPassword = "${user.password}";-->
<!--} else if (passwordField.id == "confirmPassword") {-->
<!--var origPassword = "${user.confirmPassword}";-->
<!--}-->

<!--if (passwordField.value != origPassword) {-->
<!--createFormElement("input", "hidden",  "encryptPass", "encryptPass",-->
<!--"true", passwordField.form);-->
<!--}-->
<!--}-->

<!--</script>-->
</wicket:extend>
</body>
</html>
